﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace WebUI.Models.Tables
{
    [Table("Products")]
    public partial class Product : BaseModel
    {
        /// <summary>
        /// 商品分类
        /// </summary>
        [Column, DisplayName("商品分类")]
        public int CatID { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        [Column, DisplayName("商品名称")]
        public string ProductName { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        [Column, DisplayName("商品价格")]
        public float Price { get; set; }
        /// <summary>
        /// 自定义属性
        /// </summary>
        [Column, DisplayName("自定义属性")]
        public string Defined { get; set; }
        /// <summary>
        /// 商品描述
        /// </summary>
        [Column, DisplayName("商品描述")]
        public string Content { get; set; }
        /// <summary>
        /// 缩略图
        /// </summary>
        [Column, DisplayName("缩略图")]
        public string MainImage { get; set; }
        /// <summary>
        /// 关键字
        /// </summary>
        [Column, DisplayName("关键字")]
        public string Keywords { get; set; }
        /// <summary>
        /// 简单描述
        /// </summary>
        [Column, DisplayName("简单描述")]
        public string Description { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [Column, DisplayName("排序")]
        public int HomeSort { get; set; }
    }
}